aboutsummaryrefslogtreecommitdiff
path: root/src/app/manga/[title]/[id]
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-04-04 23:00:53 +0530
committerreal-zephex <[email protected]>2024-04-04 23:00:53 +0530
commitb7e29a3d67e3e214ba1c958478092ee4075e8171 (patch)
tree01c6ee062f728aa771e9d6ce28edbdc68ca5fdd1 /src/app/manga/[title]/[id]
parentUI Upgrades for anime section. (diff)
downloaddramalama-b7e29a3d67e3e214ba1c958478092ee4075e8171.tar.xz
dramalama-b7e29a3d67e3e214ba1c958478092ee4075e8171.zip
inmidst of rewriting the kdrama section. will complete it soon
Diffstat (limited to 'src/app/manga/[title]/[id]')
-rw-r--r--src/app/manga/[title]/[id]/page.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/manga/[title]/[id]/page.jsx b/src/app/manga/[title]/[id]/page.jsx
index 5b54e23..1e4a26f 100644
--- a/src/app/manga/[title]/[id]/page.jsx
+++ b/src/app/manga/[title]/[id]/page.jsx
@@ -119,7 +119,8 @@ export default async function MangaInfo({ params }) {
async function getMangaInfo(id) {
const res = await fetch(
- `https://consumet-api-di2e.onrender.com/meta/anilist-manga/info/${id}?provider=mangadex`
+ `https://consumet-api-di2e.onrender.com/meta/anilist-manga/info/${id}?provider=mangadex`,
+ { next: { revalidate: 86400 } }
);
const data = await res.json();
return data;